package com.metis.document.parse.dialog.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.ResponseEntity;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(value = "post-process-document", url = "${domain.metis.post-process-api.url:}")
@Validated
public interface PostProcessControllerApi {
    @PostMapping(value = "/process_document")
    ResponseEntity<String> processDocument(@RequestBody Map<String, Object> param);
}

